<div id="login" class="login">
  <p>
  <% if logged_in? -%>
  <span class="globalize_bug"><%=h "You are logged in as %s." / current_user.login -%>
    <% unless is_approved? -%><%=h " You have not yet been approved to make edits.".t -%><% end -%>
  </span>
  	<div class="button"><%= link_to h('Logout'.t), logout_path -%></div>
    
	
  <% else -%>
	<div class="button"><%= link_to h('Login'.t), login_path -%></div>  
  <% end -%>
  </p>
</div>
